/**
 * Created by tmichels on 8/1/14.
 */

var IndexController = function($scope, $http,$log) {
	
	$log.info("index.html");
	$scope.editMode = false;
	$scope.position = '';

	$scope.getAllTodos = function() {
//		$http.get('../topbanner/list').success(function(response) {
//			$scope.addressBooks = response;
//		})
//		$scope.app = '222appp';
	}

	$scope.addTodo = function(newTodo) {

	}

	$scope.deleteTodo = function(deleteTodo) {

	}

	$scope.deleteAllTodo = function() {

	}

	$scope.editTodo = function(position, todo) {

	}

	$scope.updateTodo = function(updateTodo) {

	}

	$scope.resetTodoField = function() {

	};

	$scope.resetError = function() {

	};

	$scope.setError = function(message) {

	};

	$scope.getAllTodos();
}